package com.cwj.mansysback.service.api;

import com.cwj.mansysback.entity.Course;

import java.util.List;

public interface CourseService {

    boolean deleteCourse(String cid);

    Course selectCourse(String cid);

    List<Course> selectCourseTea(String tid);

    List<Course> selectSomeCourses(Integer pageInd,Integer rowCount,String orderKey,boolean isAsc);

    boolean insertCourse(String cid,String cname,String tid,Integer credit);

    boolean updateCourse(String cid,String cname,String tid,Integer credit);

}
